import requers from "../../config/newaxios";

function login(data){
    return requers({
        url:"/after/login",
        method:'post',
        data:data
    })
}

function register(data){
    return requers({
        url:"/after/register",
        method:'post',
        data:data
    })
}

export default {
    login,
    register
}